package com.cisetech.mapper.bobocai;

import java.util.List;

import org.springframework.stereotype.Component;

import com.cisetech.mapper.MyBatisRepository;
import com.cisetech.vo.bobocai.LContent;
import com.cisetech.vo.bobocai.LRegion;
import com.cisetech.vo.bobocai.LResources;
import com.cisetech.vo.bobocai.LUser;
import com.cisetech.vo.bobocai.QianTaiVo;

@Component
@MyBatisRepository
public interface LResourcesMapper {
	public List<LResources> findResourcesList(LUser user);
	//查询对象
	public List<LResources> getList(LResources resources);
	//查询一共有多少条
	Integer findListCount(LResources resources);
	//添加按钮
	int addLResources(LResources resources);
	//无分页查询按钮
	public List<LResources> getListResources(LResources resources);
	//修改按钮
	int updateLResources(LResources resources);
	//update修改展示用
	public List<LResources> getListResourcesAndTitle(LResources resources);
	//根据按钮属性查询按钮
	public List<LResources> findResourcesLists(LResources resources);
	
	//删除按钮
	public int del(LResources resources);
	
	//查询对象
	public List<QianTaiVo> getRegionList(QianTaiVo qianTaiVo);
	
}